<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <base data-ice="baseUrl" href="../../">
  <title data-ice="title">utils/debug.js | API</title>
  <link type="text/css" rel="stylesheet" href="css/style.css">
  <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
  <script src="script/prettify/prettify.js"></script>
  <script src="script/manual.js"></script>
<link rel="stylesheet" href="./inject/css/0-vue.css"><link rel="stylesheet" href="./inject/css/0-app.css"><link rel="stylesheet" href="./inject/css/0-esdoc.css"><script src="./inject/script/0-custom.js"></script><meta name="description" content="&#x4F01;&#x4E1A;&#x5373;&#x65F6;&#x901A;&#x8BAF;&#x5E73;&#x53F0;"><meta property="twitter:card" content="summary"><meta property="twitter:title" content="API"><meta property="twitter:description" content="&#x4F01;&#x4E1A;&#x5373;&#x65F6;&#x901A;&#x8BAF;&#x5E73;&#x53F0;"></head>
<body class="layout-container" data-ice="rootContainer">

<header>
  <a href="./">Home</a>
  
  <a href="identifiers.html">Reference</a>
  <a href="source.html">Source</a>
  
  <div class="search-box">
  <span>
    <img src="./image/search.png">
    <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
  </span>
    <ul class="search-result"></ul>
  </div>
<a style="position:relative; top:3px;" href="https://github.com/easysoft/xuanxuan.git"><img width="20px" src="./image/github.png"></a></header>

<nav class="navigation" data-ice="nav"><div>
  <ul>
    
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/utils/color.js~Color.html">Color</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/utils/delay-action.js~DelayAction.html">DelayAction</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/utils/status.js~Status.html">Status</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/utils/status.js~StatusKeeper.html">StatusKeeper</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/utils/task-queue.js~TaskQueue.html">TaskQueue</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createDate">createDate</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createPhpTimestramp">createPhpTimestramp</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-formatDate">formatDate</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-formatSpan">formatSpan</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getTimeBeforeDesc">getTimeBeforeDesc</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isSameDay">isSameDay</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isSameMonth">isSameMonth</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isSameYear">isSameYear</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isToday">isToday</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isYestoday">isYestoday</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-classes">classes</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-escape">escape</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getSearchParam">getSearchParam</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isWebUrl">isWebUrl</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-linkify">linkify</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-rem">rem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-strip">strip</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-cutImage">cutImage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getImageInfo">getImageInfo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-limittimepromise">limittimepromise</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-mdifileicon">mdifileicon</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-pinyin">pinyin</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-plain">plain</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-matchScore">matchScore</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-formatKeyDecoration">formatKeyDecoration</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getKeyDecoration">getKeyDecoration</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isOnlyModifyKeys">isOnlyModifyKeys</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getCodeFromString">getCodeFromString</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-longShadow">longShadow</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-skinStyle">skinStyle</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sortList">sortList</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-clearStore">clearStore</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getStoreItem">getStoreItem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getStoreLength">getStoreLength</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-removeStoreItem">removeStoreItem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setStoreItem">setStoreItem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-storeForEach">storeForEach</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-storeGetAll">storeGetAll</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-formatBytes">formatBytes</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-formatString">formatString</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-ifEmptyStringThen">ifEmptyStringThen</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isEmptyString">isEmptyString</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isNotEmptyString">isNotEmptyString</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-timesequence">timesequence</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TIME_DAY">TIME_DAY</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-renderer">renderer</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-fileIcons">fileIcons</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-BYTE_UNITS">BYTE_UNITS</a></span></span></li>
</ul>
</div>
</nav>

<div class="content" data-ice="content"><h1 data-ice="title">utils/debug.js</h1>
<pre class="source-code line-number raw-source-code"><code class="prettyprint linenums" data-ice="content">import Config from &apos;../config&apos;;

/**
 * &#x662F;&#x5426;&#x4E3A;&#x7C7B;&#x6D4F;&#x89C8;&#x5668;&#x73AF;&#x5883;
 * @type {boolean}
 * @private
 * @const
 */
const isBrowserEnv = process.browser || process.type === &apos;renderer&apos;;

if (typeof DEBUG === &apos;undefined&apos;) {
    global.DEBUG = process.env.NODE_ENV === &apos;debug&apos; || process.env.NODE_ENV === &apos;development&apos; || ((isBrowserEnv) &amp;&amp; global.window.location.search.includes(&apos;debug=1&apos;));
} else {
    global.DEBUG = DEBUG;
}

if (DEBUG) {
    // &#x79FB;&#x9664; react router &#x7684;&#x8B66;&#x544A;&#x4FE1;&#x606F;
    console._error = console.error;
    console.error = (errMessage, ...args) =&gt; {
        if (typeof errMessage === &apos;string&apos; &amp;&amp; (errMessage.indexOf(&apos;Warning: Hash history cannot PUSH the same path;&apos;) === 0 || errMessage.startsWith(&apos;Warning: Failed prop type: Prop paneStyle passed to SplitPane. Has invalid keys userSelect&apos;) || errMessage.startsWith(&apos;Warning: Failed prop type: Prop style passed&apos;))) {
            return;
        }
        return console._error(errMessage, ...args);
    };

    // &#x79FB;&#x9664; react router &#x7684;&#x8B66;&#x544A;&#x4FE1;&#x606F;
    console._warn = console.warn;
    console.warn = (errMessage, ...args) =&gt; {
        if (typeof errMessage === &apos;string&apos; &amp;&amp; errMessage.startsWith(&apos;iterable.length has been deprecated, use iterable.size or iterable.count&apos;)) {
            return;
        }
        return console._warn(errMessage, ...args);
    };

    // &#x7F8E;&#x5316;&#x6D4F;&#x89C8;&#x5668;&#x7AEF;&#x73AF;&#x5883;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;
    if (isBrowserEnv) {
        const STYLE = {
            rounded: &apos;border-radius: 3px;&apos;,
            block: &apos;display: block;&apos;,
            bold: &apos;font-weight: bold;&apos;,
            h1: &apos;font-size: 24px; font-weight: bold;&apos;,
            h2: &apos;font-size: 20px; font-weight: bold;&apos;,
            h3: &apos;font-size: 18px; font-weight: bold;&apos;,
            h4: &apos;font-size: 16px; font-weight: bold;&apos;,
            h5: &apos;font-size: 14px; font-weight: bold;&apos;,
            h6: &apos;font-size: 12px; font-weight: bold;&apos;,
            muted: &apos;color: #aaa;&apos;,

            pink: &apos;color: #e91e63;&apos;,
            pinkLight: &apos;color: #ff6090;&apos;,
            pinkDark: &apos;color: #b0003a;&apos;,
            pinkPale: &apos;background: #fce4ec; color: #e91e63;&apos;,
            pinkBg: &apos;background: #e91e63; color: #fff;&apos;,
            pinkBgLight: &apos;background: #ff6090; color: #fff;&apos;,
            pinkBgDark: &apos;background: #b0003a; color: #fff;&apos;,
            pinkOutline: &apos;color: #e91e63; border-color: #e91e63;&apos;,


            blue: &apos;color: #2196f3;&apos;,
            blueLight: &apos;color: #6ec6ff;&apos;,
            blueDark: &apos;color: #0069c0;&apos;,
            bluePale: &apos;background: #e3f2fd; color: #2196f3;&apos;,
            blueBg: &apos;background: #2196f3; color: #fff;&apos;,
            blueBgLight: &apos;background: #6ec6ff; color: #fff;&apos;,
            blueBgDark: &apos;background: #0069c0; color: #fff;&apos;,
            blueOutline: &apos;color: #2196f3; border-color: #2196f3;&apos;,

            green: &apos;color: #4caf50;&apos;,
            greenLight: &apos;color: #80e27e;&apos;,
            greenDark: &apos;color: #087f23;&apos;,
            greenPale: &apos;background: #e8f5e9; color: #4caf50;&apos;,
            greenBg: &apos;background: #4caf50; color: #fff;&apos;,
            greenBgLight: &apos;background: #80e27e; color: #fff;&apos;,
            greenBgDark: &apos;background: #087f23; color: #fff;&apos;,
            greenOutline: &apos;color: #4caf50; border-color: #4caf50;&apos;,

            red: &apos;color: #f44336;&apos;,
            redLight: &apos;color: #ff7961;&apos;,
            redDark: &apos;color: #ba000d;&apos;,
            redPale: &apos;background: #ffebee; color: #f44336;&apos;,
            redBg: &apos;background: #f44336; color: #fff;&apos;,
            redBgLight: &apos;background: #ff7961; color: #fff;&apos;,
            redBgDark: &apos;background: #ba000d; color: #fff;&apos;,
            redOutline: &apos;color: #f44336; border-color: #f44336;&apos;,

            orange: &apos;color: #ff9800;&apos;,
            orangeLight: &apos;color: #ffc947;&apos;,
            orangeDark: &apos;color: #c66900;&apos;,
            orangePale: &apos;background: #fff3e0; color: #ff9800;&apos;,
            orangeBg: &apos;background: #ff9800; color: #fff;&apos;,
            orangeBgLight: &apos;background: #ffc947; color: #fff;&apos;,
            orangeBgDark: &apos;background: #c66900; color: #fff;&apos;,
            orangeOutline: &apos;color: #ff9800; border-color: #ff9800;&apos;,

            deepOrange: &apos;color: #ff5722;&apos;,
            deepOrangeLight: &apos;color: #ff8a50;&apos;,
            deepOrangeDark: &apos;color: #c41c00;&apos;,
            deepOrangePale: &apos;background: #fbe9e7; color: #ff5722;&apos;,
            deepOrangeBg: &apos;background: #ff5722; color: #fff;&apos;,
            deepOrangeBgLight: &apos;background: #ff8a50; color: #fff;&apos;,
            deepOrangeBgDark: &apos;background: #c41c00; color: #fff;&apos;,
            deepOrangeOutline: &apos;color: #ff5722; border-color: #ff5722;&apos;,

            purple: &apos;color: #9c27b0;&apos;,
            purpleLight: &apos;color: #d05ce3;&apos;,
            purpleDark: &apos;color: #6a0080;&apos;,
            purplePale: &apos;background: #f3e5f5; color: #9c27b0;&apos;,
            purpleBg: &apos;background: #9c27b0; color: #fff;&apos;,
            purpleBgLight: &apos;background: #d05ce3; color: #fff;&apos;,
            purpleBgDark: &apos;background: #6a0080; color: #fff;&apos;,
            purpleOutline: &apos;color: #9c27b0; border-color: #9c27b0;&apos;,

            teal: &apos;color: #009688;&apos;,
            tealLight: &apos;color: #52c7b8;&apos;,
            tealDark: &apos;color: #00675b;&apos;,
            tealPale: &apos;background: #e0f2f1; color: #009688;&apos;,
            tealBg: &apos;background: #009688; color: #fff;&apos;,
            tealBgLight: &apos;background: #52c7b8; color: #fff;&apos;,
            tealBgDark: &apos;background: #00675b; color: #fff;&apos;,
            tealOutline: &apos;color: #009688; border-color: #009688;&apos;,

            indigo: &apos;color: #3f51b5;&apos;,
            indigoLight: &apos;color: #757de8;&apos;,
            indigoDark: &apos;color: #002984;&apos;,
            indigoPale: &apos;background: #e8eaf6; color: #3f51b5;&apos;,
            indigoBg: &apos;background: #3f51b5; color: #fff;&apos;,
            indigoBgLight: &apos;background: #757de8; color: #fff;&apos;,
            indigoBgDark: &apos;background: #002984; color: #fff;&apos;,
            indigoOutline: &apos;color: #3f51b5; border-color: #3f51b5;&apos;,
        };

        const formatOutput = (args) =&gt; {
            const output = [&apos;&apos;];
            const format = [];
            args.forEach((arg, idx) =&gt; {
                const index = Math.floor(idx / 2);
                if (idx % 2 === 1) {
                    format[index] = `%c${format[index]}`;
                    let style = &apos;padding: 0 4px; border: 1px solid transparent;&apos;;
                    if (Array.isArray(arg)) {
                        style += arg.reduce((tmpStyle, styleName) =&gt; {
                            return tmpStyle + (STYLE[styleName] || styleName);
                        }, &apos;&apos;);
                    } else if (typeof arg === &apos;object&apos;) {
                        style += Object.keys(arg).reduce((tmpStyle, propName) =&gt; (`${tmpStyle}${propName}: ${arg[propName]}`), &apos;&apos;);
                    } else {
                        style += STYLE[arg] || arg;
                    }
                    output.push(style);
                } else {
                    format.push(arg);
                }
            });
            output[0] = format.join(&apos;&apos;);
            return output;
        };

        console.formatOutput = formatOutput;

        console.color = (...args) =&gt; {
            console.log(...formatOutput(args));
        };

        console.collapse = (...args) =&gt; {
            console.groupCollapsed(...formatOutput(args));
        };

        console.expand = (...args) =&gt; {
            console.group(...formatOutput(args));
        };

        console.expand(`XuanXuan ${Config.pkg.version} DEBUG${Config.system.specialVersion ? ` for ${Config.system.specialVersion}` : &apos;&apos;}`, [&apos;h1&apos;, &apos;pink&apos;, `border-bottom: 3px solid #e91e63; display: block; text-shadow: 1px 1px 1px #e91e63; padding: 0 40px; background-image: url(https://github.com/easysoft/xuanxuan/blob/master/xxc/resources/icon.png?raw=true); background-size: 24px 24px; background-repeat: no-repeat; background-position: 0 2px`]);
        console.color(&apos;\t  Company: &apos;, &apos;pinkLight&apos;, Config.pkg.company, &apos;pinkDark&apos;);
        console.color(&apos;\t  License: &apos;, &apos;pinkLight&apos;, Config.pkg.license, &apos;pinkDark&apos;);
        console.color(&apos;\t   Github: &apos;, &apos;pinkLight&apos;, &apos;https://github.com/easysoft/xuanxuan&apos;, &apos;pinkDark&apos;);
        console.color(&apos;\t Homepage: &apos;, &apos;pinkLight&apos;, Config.pkg.homepage, &apos;pinkDark&apos;);
        console.color(&apos;\t   Issues: &apos;, &apos;pinkLight&apos;, Config.pkg.bugs.url, &apos;pinkDark&apos;);
        if (process.versions) {
            if (process.versions.electron) {
                console.color(&apos;\t Electron: &apos;, &apos;pinkLight&apos;, process.versions.electron, &apos;pinkDark&apos;);
            } else if (process.versions.nw) {
                console.color(&apos;\t     NWJS: &apos;, &apos;pinkLight&apos;, process.versions.nw, &apos;pinkDark&apos;);
            }
            console.color(&apos;\t   NodeJS: &apos;, &apos;pinkLight&apos;, process.versions.node, &apos;pinkDark&apos;);
            if (process.versions.chrome) {
                console.color(&apos;\t   Chrome: &apos;, &apos;pinkLight&apos;, process.versions.chrome, &apos;pinkDark&apos;);
            } else if (process.versions.chromium) {
                console.color(&apos;\t Chromium: &apos;, &apos;pinkLight&apos;, process.versions.chromium, &apos;pinkDark&apos;);
            }
            console.color(&apos;\t  modules: &apos;, &apos;pinkLight&apos;, process.versions.modules, &apos;pinkDark&apos;);
            console.color(&apos;\t       V8: &apos;, &apos;pinkLight&apos;, process.versions.v8, &apos;pinkDark&apos;);
        }
        if (process.arch) {
            console.color(&apos;\t     Arch: &apos;, &apos;pinkLight&apos;, process.arch, &apos;pinkDark&apos;);
        }
        if (process.env) {
            console.color(&apos;\t  DIRNAME: &apos;, &apos;pinkLight&apos;, process.env.PWD, &apos;pinkDark&apos;);
            console.color(&apos;\t     LANG: &apos;, &apos;pinkLight&apos;, process.env.LANG, &apos;pinkDark&apos;);
            console.color(&apos;\t NODE_ENV: &apos;, &apos;pinkLight&apos;, process.env.NODE_ENV, &apos;pinkDark&apos;);
        }
        console.log(&apos;%c\t    Config: &apos;, &apos;color: #ff6090&apos;, Config);
        console.groupEnd();
    }

    global.$ = {};
}

export default global.DEBUG;
</code></pre>

</div>

<footer class="footer">
  Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a>
</footer>

<script src="script/search_index.js"></script>
<script src="script/search.js"></script>
<script src="script/pretty-print.js"></script>
<script src="script/inherited-summary.js"></script>
<script src="script/test-summary.js"></script>
<script src="script/inner-link.js"></script>
<script src="script/patch-for-local.js"></script>
</body>
</html>
